package cn.tedu.egweibo2.controller;

import cn.tedu.egweibo2.common.response.JsonResult;
import cn.tedu.egweibo2.common.response.StatusCode;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Api(tags = "01.用户模块")
@Slf4j
@RestController
@RequestMapping("/v1/users/")
public class UserController {
    @ApiOperation("查询用户")
    @GetMapping("select")
    @ApiImplicitParam(name = "id",value = "用户编号",required = true,dataType = "int")
    public JsonResult select(Integer id){
        log.debug("id = " + id);

        return JsonResult.ok();
    }
}
